php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#311484 - 09/12/06 11:48 AM [7.0] [Beta] RaiderSoft Integrated Chat
Micky Offline
Member

Registered: 02/11/04
Posts: 184
Loc: Bern, Switzerland
Mod Name / Version: RaiderSoft UBBThreads Integrated Chat 7.0

Description: This integrates RaiderSoft's Java Based Chatroom into your site and updates the who's online information.
This works with all versions of the RaiderSoft Chat Room (including the Free Version) but to get all the features to work (Database Authentication and the ability to view profiles) you'll need the Platinum Level Account (currently $135/year from RaiderSoft.com).
This will also update the Who's Online Screen with "In the Chat Room" if the user is in the chatroom.


Featues:

Integrates with the look/stylesheet of your UBB.Threads

Can automatically log the user into chat, using their Threads Username

Option to limit chat to logged in/registered users

Option to temporarily close the chatroom

Updates the Threads Who's Online page with "In The Chat Room" when users are using Chat.




Working Under: UBB.Threads 7.0

Mod Status: Beta

Any pre-requisites: A Chat Room at Raidersoft

Author(s): Micky

Date: 09/12/06

Credits: Chris at Raidersoft.com for commissioning it

Files Altered - /templates/default/header.tpl,
/languages/english/online.php

New Files - chat.inc.php, chat.tpl

Database Altered: no

Info/Instructions: Visit RaiderSoft to signup for an account. Start with a free account, which will enable you to set this up and test. You can upgrade your account at any time by logging in at the RaiderSoft site. While there is a "professional" level service, to make use of the Database authentication and the ability to view profiles in chat, be sure to upgrade to the "Platinum" level service. If you already have a RaiderSoft "Professional" level account, you can login at RaiderSoft and upgrade the account to the "Platinum" level Service.

Additional help/instructions and troubleshooting documentation is included in the Instruction file in the attached ZIP file.

Note this is exactly the same as version 7.0 - the files are simply updated to work with threads 7.0.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Groupee.com.If you need official support, you'll need to restore unmodified files.


Attachments
2271-RaiderSoft-UBBThreadsChat7.0.zip (194 downloads)

_________________________
Gruss Micky

Golf Diesel Forum

Top
#311489 - 09/12/06 05:19 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Micky]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Great! I know there's already been several requests for this Micky, thank you thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#311490 - 09/12/06 05:50 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: AllenAyres]
Micky Offline
Member

Registered: 02/11/04
Posts: 184
Loc: Bern, Switzerland
No problem, I also need the Hack. laugh wink
_________________________
Gruss Micky

Golf Diesel Forum

Top
#311491 - 09/12/06 06:09 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Micky]
Micky Offline
Member

Registered: 02/11/04
Posts: 184
Loc: Bern, Switzerland
Menu link only with log in

Quote:

#######################################################
###
### Open /templates/default/header.tpl
###

##
## Find this:
##

<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}</a>

##
## Change to this:
##

<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}</a>      
{if $myspace_link}
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}chat">{$lang.CHAT_TEXT}</a>
{/if}

_________________________
Gruss Micky

Golf Diesel Forum

Top
#311492 - 09/12/06 06:52 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Micky]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I believe chat.inc.php can be cut down to the following
Code:
<?php
if(!defined("UBB_MAIN_PROGRAM")) exit;

function &page_chat_gpc () {
	return array(
		"input" => array(),
		"wordlets" => array("chat"),
		"user_fields" => "",
		"regonly" => 1,
		"admin_only" => 0,
		"admin_or_mod" => 0,
	);
} // end page_chat_gpc

function &page_chat_run () {
	global $user,$ubbt_lang,$config,$var_start,$var_eq,$var_sep,$var_extra;
	
	return array(
		"header" => array (
		"title" => "{$ubbt_lang['CHAT_ROOM']}",
			"refresh" => 0,
			"user" => $user,
			"Board" => "",
			"bypass" => 0,
			"onload" => "",
			"breadcrumb" => <<<BREADCRUMB
 <a href="{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}cfrm">{$ubbt_lang['FORUM_TEXT']}</a>
 &raquo;
 {$ubbt_lang['CHAT_ROOM']}
BREADCRUMB
			,
		),
		"template" => "chat",
		"data" => array( "Username" => $user['USER_DISPLAY_NAME'] ),
		"footer" => true,
		"location" => "",
	);
}
?>


With the template reading

Code:
{* Script Version 7.0.0b5 *}
{* $Id: closedboard.tpl 360 2006-09-08 18:36:27Z rick $ *}
		
{$tbopen}
<tr>
<td class="tdheader">
{$lang.CHAT_ROOM}
</td>
</tr>
<tr>
<td class="alt-1" align="center">

<!-- NOTE: You will need to alter the "room" number -->
<!-- Put the number of your chatroom where you see XXXXX below -->
<!-- Signup for Free or Paid Chatroom at www.raidersoft.com -->

<applet
   codebase="http://client.sigmachat.com/current/"
   code="Client.class" archive="scclient_en.zip"
   width="600" height="350">
   <param name="room" value="65136" />
   <param name="cabbase" value="scclient_en.cab" />
   <param name="username" value="{$Username}" />
   <param name="autologin" value="yes" />
</applet>

</td>
</tr>
{$tbclose}


Just to validate and remove from non-applicable parts

Top
#311493 - 09/12/06 08:14 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Ian Spence]
Micky Offline
Member

Registered: 02/11/04
Posts: 184
Loc: Bern, Switzerland
Yes Ian. thumbsup Thus we come on a minimally code.
_________________________
Gruss Micky

Golf Diesel Forum

Top
#311523 - 09/16/06 01:48 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Micky]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
How do I put the link in the navigation bar??

I believe I have followed the instructions, yet nothing shows up anywhere so I suspect i messed up.

I mess up a lot smile

Words of wisdom??
_________________________
www.clubadventist.com

Top
#311528 - 09/17/06 09:25 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
Micky Offline
Member

Registered: 02/11/04
Posts: 184
Loc: Bern, Switzerland
In the templates/default/header.tpl

Code:
#######################################################
###
### Open /templates/default/header.tpl
###

## 
## Find this:
##

<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}</a>

##
## Change to this:
##

<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}</a> &nbsp; &nbsp; &nbsp;
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}chat">{$lang.CHAT_TEXT}</a>

########################################################## 


wink
_________________________
Gruss Micky

Golf Diesel Forum

Top
#311560 - 09/25/06 07:25 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Micky]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
Does anyone have a working model of this?

It should work, but I gotta be doing something wrong...
_________________________
www.clubadventist.com

Top
#311561 - 09/25/06 11:00 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
Micky Offline
Member

Registered: 02/11/04
Posts: 184
Loc: Bern, Switzerland
Hi Stan,
I can edit to you the files thus you must copy them only in your forum. In addition I need your chatroom number. Then I can send to you everything by eMail. wavey
_________________________
Gruss Micky

Golf Diesel Forum

Top
#311582 - 09/27/06 07:26 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Micky]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
Thanks the number is SC-98102 (98102)

my email is stanjensen@mac.com

Which changes do I have to make on raidersoft? I have the plat. account...

Really appreciate that...
_________________________
www.clubadventist.com

Top
#311623 - 10/07/06 03:30 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
Does anyone have this working with the platinum or higher version??
_________________________
www.clubadventist.com

Top
#311730 - 10/15/06 06:56 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
You should remember the codechanges from Sigma. If you run german:

Php Code:
<applet 
   codebase="http://client1.sigmachat.com/current/"
   code="Client.class" archive="scclient_de.zip"
   width=600 height=350 MAYSCRIPT>
   <param name="room" value="XXXXXX">
   <param name="cabbase" value="scclient_de.cab">
</applet> 
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#311731 - 10/15/06 07:08 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Zarzal]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
To get the navigation menu text displayed you have to edit language/english/generic.php too.

Find:
$ubbt_lang['FAQ_TEXT'] = "FAQ";

Add under it:
$ubbt_lang['CHAT_TEXT'] = "Chat";

Do this to all language files.
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#311755 - 10/16/06 10:18 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: Zarzal]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thank you again, just installed this for a client smile

Hey Stan, what issues are you having with your platinum acct?
_________________________
- Allen wavey
- What Drives You?

Top
#311985 - 11/16/06 07:17 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: AllenAyres]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
trying again, making headway, thanks for the reminder of this...

I do have the link in my header now, but it does not take me to my site,.

wonder if this has to change

codebase="http://client.sigmachat.com/current/"


to something at addonchat.com ??

_________________________
www.clubadventist.com

Top
#311986 - 11/16/06 07:36 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: AllenAyres]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
OK

had to change the code to
codebase="http://client1.addonchat.com/current/"
_________________________
www.clubadventist.com

Top
#311987 - 11/16/06 07:48 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
When I go to the chat, i am not an admin.... any one else have that problem???
If I change my screen name over the admin as named in the control panel it gives a log in error

Thoughts?
_________________________
www.clubadventist.com

Top
#311988 - 11/16/06 07:51 AM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
StanCA Offline
Power User

Registered: 07/01/02
Posts: 71
ALSO the code to show who is online is cut off from the file that comes with the download...

The code from radiersoft to show who is online doesn't work after you have this intergrated..
_________________________
www.clubadventist.com

Top
#312056 - 11/19/06 11:47 PM Re: Beta-[7.0] RaiderSoft UBBThreads Integrated Chat [Re: StanCA]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
That whole applet code section has to change:

Code:
<applet code="Client.class"
   codebase="http://client1.addonchat.com/current/"
   archive="scclient_en.zip" width="600" height="400"
   alt="Java Chat Software - AddonChat" MAYSCRIPT>
   <param name="room" value="your#">
   <a href="http://www.addonchat.com/">Java Chat Software</a>
</applet>
_________________________
- Allen wavey
- What Drives You?

Top
Page 1 of 2 1 2 >



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks